<?php


namespace catchAdmin\system\request;


use think\Validate;

class xAppSettingRequest extends Validate
{
    protected $rule = [
        'device_code|设备码' => [
            'require'
        ],
        'phone|电话号' => [
            'require',
            'number'
        ],
        'call_method|电话拨打方式' => [
            'require',
            'number'
        ]
    ];

    protected $scene = [
        'create' => ['device_code', 'phone', 'call_method']
    ];
}